package poo;

public class Lanzadera {

    public static void main(String[] args) {
        //Persona per = new Persona();
        {
            Persona per = Persona.createPersona();
            per.setDNI("123-G");
        }
        {
            Persona per = Persona.createPersona();
            per.setDNI("555-G");
        }
        for (int i = 0; i < 100; i++) {
            System.gc();
            Persona per = Persona.createPersona();
            per.setDNI(i+"-G");
        }
        System.out.println("FIN!!!");
    }
}
